# include <stdio.h>
int main(){
	float r;
	int h;
	float a=3.14;
	scanf("%f %d",&r,&h);
	double c,s1,s2,v1,v2;
	c=2*a*r;
	s1=a*r*r;
	s2=4*a*r*r;
	v1=s1*h;
	v2=(4/3)*s1*r;
	printf("圆周长为%1f,\n圆面积为%1f,\n圆球表面积为%1f,\n圆球体积为%1f,\n圆柱体体积为%1f",c,s1,s2,v1,v2);
	return 0;
}